//
//  YFSectionHeadView.h
//  SquashSpark
//
//  Created by Coollang on 2017/11/30.
//  Copyright © 2017年 Coollang-YF. All rights reserved.
//

#import <UIKit/UIKit.h>

/* 到处都是的丑不拉几的头部View*/

@interface YFSectionHeadView : UIView

@property (nonatomic, weak)IBOutlet UILabel *titleLabel;
/** 右侧按钮 */
@property (nonatomic, weak)IBOutlet UIButton *rightBtn;

@property (nonatomic, copy) void (^rightButtonAction)(UIButton *sendr);

+ (instancetype)sectionHeadView;

- (void)sectionHeadViewWithTitle:(NSString *)title buttonTitle:(NSString *)btnTitle showRightBtn:(BOOL)show;

@end
